import request from "../utils/reuqest.js"
//获取商品列表
export const api_goods = (data) => request.get("goods", data);
//修改商品
export const api_goodsadd = (data) => request.put(`goods/${data.id}`, data);
//删除商品
export const api_delete = ({ url }) => request.delte(`goods/${url}`);